package cn.shyouchi.wuguanjia.android.ui.register;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;
import cn.shyouchi.wuguanjia.android.model.SmsCodeMod;
import cn.shyouchi.wuguanjia.android.model.User;

/**
 * Created by Eenie on 2016/10/13 at 10:07
 * Email: 472279981@qq.com
 * Des:
 */

public interface RegisterContract {


    interface View extends BaseView {
        void sendComplete(SmsCodeMod smsCodeMod);
        void showToast(String msg);


        void jumpBaseInfo(User user);


    }

    interface Presenter extends BasePresenter<View> {
        void fetchSmsCode(String phone);

        void register(int type, String phone, String code, String pwd, String repwd, boolean isApply, SmsCodeMod smsCodeMod);
    }


}
